package com.jf.dao;

import com.jf.bean.Role;
import com.jf.util.PageInfo;

import java.util.List;

public interface RoleDao {
    List<Role> getAll();
    List<Role> getPage(PageInfo pageInfo,Role role);
    int getCount(Role role);
    int addSelect(Role role);
    int updateSelect(Role role);
    int batchDelete(int[] ids);
    Role getById(int id);
}
